package com.ming.springboot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = {"com.ming.other", "com.ming.springboot"})
@ServletComponentScan
public class SpringBootStyDemoApplication {

	public static void main(String[] args) {
		SpringApplication.run(SpringBootStyDemoApplication.class, args);
		// 关闭 Banner 图标显示功能
//		SpringApplication application = new SpringApplication(SpringBootStyDemoApplication.class);
//		application.setBannerMode(Banner.Mode.OFF);
//		application.run(args);
	}


}
